package com.stud.system.service;

import com.stud.common.enums.WorkflowDefinitionEnum;
import com.stud.common.mybatis.BaseService;
import com.stud.system.domain.WorkflowDefinition;

/**
 * 流程定义Service接口
 *
 * @author Stud
 * @date 2023-03-06
 */
public interface WorkflowDefinitionService extends BaseService<WorkflowDefinition> {
    boolean add(WorkflowDefinition workflowDefinition);

    WorkflowDefinition getByDefinitionEnum(WorkflowDefinitionEnum workflowDefinitionEnum);
}
